package com.six.firstpage.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.six.core.entity.HeadNav;
import com.six.core.entity.Link;

import java.util.ArrayList;
import java.util.List;

/**
* @author ZZH
* @description 针对表【tb_head_nav】的数据库操作Service
* @createDate 2023-02-27 10:21:18
*/
public interface HeadNavService extends IService<HeadNav> {

     //用户前端查询所有的头部导航
     List<HeadNav> getAllHeadNav();


     Page<HeadNav> getHeadNavByTitle(String title, Integer status, Integer current, Integer pageSize);

     Integer addHeadNav(HeadNav headNav);

     Integer updateHeadNav(HeadNav headNav);

     Integer delHeadNav(Integer headId);


}
